﻿using System;
using System.Collections.Generic;

namespace Domain.Entities
{
    public class Users :  AggregateRoot
    {
        public virtual List<Roles> UserRoles { get; set; }

        public string Name
        {
            get;
            set;
        }

        public string Password
        {
            get;
            set;
        }

        public DateTime? LastLoginTime
        {
            get;
            set;
        }

        public bool State
        {
            get;
            set;
        }
    }
}
